<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
import { getAllChannelListAPI } from '@/api/test'
export default {
  name: 'APP',
  async created () {
    try {
      const resp = await getAllChannelListAPI()
      console.log(resp)
    } catch (e) {
      console.log(e)
    } finally {
      console.log('不管有没有错，我都会执行哦')
    }
  }
}
</script>

<style>
#app {
  width: 375px;
  height: 100px;
}
</style>
